package aaaorg.eclipse.swt.widgets;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

import com.attilax.net.websitex;

public class api_dsl_t {

	public static void main(String[] args) throws UnsupportedEncodingException {
		String id="4";
		String sql="  update [gv_material] set [play_count]=[play_count]+1 where material_id="+id;

		String url="http://localhost:8080/vod2/api_dsl.jsp?http_param=@sql&ret_datatype=xml&xylID=0.035275804344564676";
		url=url.replaceAll("@sql", URLEncoder.encode(sql, "utf-8"));
	String t=	websitex.WebpageContent(url, "utf-8");
	System.out.println(t);

	}

}
